package com.unlcn.ils.erpInterfaces.dao.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 司机公众号请求日志表
 * </p>
 *
 * @author liangpeng
 * @since 2018-06-15
 */
@TableName("LISA_REQUEST_LOG")
public class LisaRequestLog extends Model<LisaRequestLog> {

    private static final long serialVersionUID = 1L;

	/**
	 * chuangjian 创建时间
	 */
	@TableField(value="GMT_CREATE")
	private Date gmtCreate;

	/**
	 * 0未处理1已处理
	 */
	private Integer flag;

	/**
	 * 0失败1成功
	 */
	@TableField(value="IS_SUCCESS")
	private Integer isSuccess;

	/**
	 * 返回数据
	 */
	@TableField(value="RETURN_DATA")
	private String returnData;

	/**
	 * 请求数据
	 */
	private String data;

	/**
	 * 请求地址
	 */
	private String url;

	/**
	 * 请求方式
	 */
	private String way;

	/**
	 * erp报班id
	 */
	@TableField(value="ERP_QUEUE_ID")
	private Long erpQueueId;

	/**
	 * 司机公众号报班id
	 */
	@TableField(value="DRIVER_QUEUE_ID")
	private Long driverQueueId;

	/**
	 * 主键序号
	 */
	@TableId(type = IdType.INPUT)
	private Long ilineid;


	public Date getGmtCreate() {
		return gmtCreate;
	}

	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}

	public Integer getFlag() {
		return flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public Integer getIsSuccess() {
		return isSuccess;
	}

	public void setIsSuccess(Integer isSuccess) {
		this.isSuccess = isSuccess;
	}

	public String getReturnData() {
		return returnData;
	}

	public void setReturnData(String returnData) {
		this.returnData = returnData;
	}

	public String getData() {
		return data;
	}

	public void setData(String data) {
		this.data = data;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getWay() {
		return way;
	}

	public void setWay(String way) {
		this.way = way;
	}

	public Long getErpQueueId() {
		return erpQueueId;
	}

	public void setErpQueueId(Long erpQueueId) {
		this.erpQueueId = erpQueueId;
	}

	public Long getDriverQueueId() {
		return driverQueueId;
	}

	public void setDriverQueueId(Long driverQueueId) {
		this.driverQueueId = driverQueueId;
	}

	public Long getIlineid() {
		return ilineid;
	}

	public void setIlineid(Long ilineid) {
		this.ilineid = ilineid;
	}

	@Override
	protected Serializable pkVal() {
		return this.ilineid;
	}
}
